﻿
#region Using
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
#endregion

/*****************************************
功能描述：Area的实体类。
创建时间：2010/8/3 10:18:43
******************************************/
namespace BuXiaChu.OrderDishes.Model
{
        public class AreaModel
        {        
            private int _id;
            /// <summary>
            /// Id
            /// </summary> 
            public int Id
            {
                get { return _id; }
                set { _id = value; }
            }
            
            private string _cityCode;
            /// <summary>
            /// 编号  010 021
            /// </summary> 
            [Required]
            [DisplayName("城市编码")]            
            public string CityCode
            {
                get { return _cityCode; }
                set { _cityCode = value; }
            }
            
            private string _name;
            /// <summary>
            /// 名称
            /// </summary> 
            [Required]
            [DisplayName("城市名称")]
            public string Name
            {
                get { return _name; }
                set { _name = value; }
            }
            
            private int _parentId;
            /// <summary>
            /// 父类id
            /// </summary> 
            [Required]
            [DisplayName("所属城市")]
            public int ParentId
            {
                get { return _parentId; }
                set { _parentId = value; }
            }
            
            private byte _status;
            /// <summary>
            /// 状态
            /// </summary> 
            [DisplayName("状态")]
            public byte Status
            {
                get { return _status; }
                set { _status = value; }
            }
            
            private string _remarks;
            /// <summary>
            /// 备注
            /// </summary> 
            [DisplayName("备注")]
            public string Remarks
            {
                get { return _remarks; }
                set { _remarks = value; }
            }
            
            private System.DateTime _updateDate;
            /// <summary>
            /// 修改时间
            /// </summary> 
            public System.DateTime UpdateDate
            {
                get { return _updateDate; }
                set { _updateDate = value; }
            }
            
            private System.DateTime _createDate;
            /// <summary>
            /// 创建时间
            /// </summary> 
            public System.DateTime CreateDate
            {
                get { return _createDate; }
                set { _createDate = value; }
            }
            
        }
}
